import java.io.File;
import java.io.IOException;

public class Test04 {
    public static void main(String[] args) throws IOException {
        File f1=new File("D:\\aaa\\c.txt");
        boolean b1=f1.createNewFile();
        System.out.println(b1);;
//        File f1=new File("D:\\aaa\\bbb");
//        boolean b=f1.createNewFile();
//        System.out.println(b);
//        File f2=new File("D:\\aaa\\ddd");
//        boolean b1=f2.createNewFile();
//        System.out.println(b1);
        File f2=new File("D:\\aaa\\eee");
        Boolean b=f2.mkdir();
        System.out.println(b);
        File f3=new File("D:\\aaa\\aaa\\bbb");
        boolean b3=f3.mkdirs();
        System.out.println(b3);





    }
}
